home *** CD-ROM | disk | FTP | other *** search
- Short: Executes some CLI-commands on reset
- Author: jgeiss@muc.de (Johannes Geiss)
- Uploader: jgeiss@muc.de (Johannes Geiss)
- Type: util/misc
-
- Version: 1.1
-
- Installes a reset handler which executes some commands on case of a reset
- (CTRL-Amiga-Amiga).
-
- Example:
-
- ExecuteOnReset "Copy RAM:log to dh1: quiet noreq" "Wait 3 secs"
-
- This installes a reset handler, which copies a file from the RAM
- disk to dh1 in case of a reset (CTRL-AMIGA-AMIGA). The Wait
- command is necessary to avoid a non validated disk on dh1.
-
- Usage: Run <>NIL: ExecuteOnReset [-p pri] string1 [string2] ...
- -p pri - priority (default: 0)
- string1 - command line 1 to execute
- string2 - optional command line 2 to execute
- ... - more command lines.
-
- Installes a reset handler which executes the command lines on case of a reset
- (CTRL-Amiga-Amiga). After execution of all commands the handler continues with
- the reset (or other installed reset handlers) imediately! So if you do some
- disk tasks add a "Wait 3 secs" line as last command to avoid non validated
- disks. You must be cautionous: The Amiga allows a maximum of 10 seconds to do
- all reset handler tasks. After this amount of time a hard reset occurs
- regardless if a command has finished or not. If you install more reset
- handlers you can choose the order of execution by the priority argument.
- The Run command is necessary to detach from the shell. A CTRL-C signal
- removes the handler.
-
- Notes:
-
- Some old Amigas do not have a hardware support for keyboard reset
- handlers. If you try this on such machines the program will not work.
-
- This software (including the source codes) is free but remains
- copyrighted (C) 2000 by Johannes Geiss (Amigavisions).
-
- USE THIS SOFTWARE AT YOUR OWN RISK. I'm not responsible for any damage
- or data loss which this program may cause. If you are not sure about
- this program read the sources.
-
- Have fun
- Johannes Geiss (http://www.muc.de/~jgeiss)
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 1906 1172 38.5% 13-Aug-00 22:50:44 ExecuteOnReset.info
- 2971 2408 18.9% 13-Aug-00 22:50:42 +Build.info
- 794 189 76.1% 10-Aug-00 16:43:34 +call.i
- 2766 1755 36.5% 13-Aug-00 22:50:44 +call.i.info
- 2632 1711 34.9% 30-Sep-94 14:19:20 +Debug
- 2926 1799 38.5% 13-Aug-00 22:50:42 +Debug.info
- 2764 1720 37.7% 13-Aug-00 22:50:42 +Edit.info
- 11624 7214 37.9% 13-Aug-00 22:50:24 +ExecuteOnReset
- 7199 2234 68.9% 13-Aug-00 22:50:20 +ExecuteOnReset.c
- 2826 1998 29.2% 13-Aug-00 22:50:42 +ExecuteOnReset.c.info
- 2943 1781 39.4% 13-Aug-00 22:50:44 +ExecuteOnReset.info
- 144 119 17.3% 13-Aug-00 22:50:22 +ExecuteOnReset.lnk
- 1938 1314 32.1% 13-Aug-00 22:50:42 +ExecuteOnReset.lnk.info
- 2620 1493 43.0% 13-Aug-00 22:50:22 +ExecuteOnReset.o
- 2164 1224 43.4% 13-Aug-00 22:50:44 +ExecuteOnReset.o.info
- 1988 942 52.6% 13-Aug-00 22:50:18 +ExecuteOnReset.readme
- 2604 1733 33.4% 13-Aug-00 22:50:44 +ExecuteOnReset.readme.info
- 2868 1844 35.7% 13-Aug-00 22:50:42 +Find.info
- 879 349 60.2% 10-Aug-00 16:43:16 +keyhandler.a
- 2926 2190 25.1% 13-Aug-00 22:50:44 +keyhandler.a.info
- 152 122 19.7% 10-Aug-00 16:43:40 +keyhandler.o
- 2164 1224 43.4% 13-Aug-00 22:50:44 +keyhandler.o.info
- 89 68 23.5% 10-Aug-00 16:42:44 +SCOPTIONS
- 2942 2255 23.3% 13-Aug-00 22:50:42 +SCoptions.info
- 46 46 0.0% 10-Aug-00 16:43:30 +xref.i
- 2766 1756 36.5% 13-Aug-00 22:50:44 +xref.i.info
- -------- ------- ----- --------- --------
- 67641 40660 39.8% 16-Aug-100 03:10:34 26 files
-